package com.taxi.remote;

import com.taxi.request.ForecastPriceDOT;
import com.taxi.response.ForecastPriceResponse;
import com.taxi.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author: aniu
 * @Date: 2023/9/26
 * @ClassName: ServicePrcieClient
 * @Description: Write class functionality and purpose here.
 * @Version: 1.0
 */
@FeignClient("service-price")
public interface ServicePriceClient {

    @PostMapping("/forecast-price")
    public Result forecastPrice(@RequestBody ForecastPriceDOT forecastPriceDOT);
}
